package xyz.second.database.portal.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 门禁表
 * </p>
 *
 * @author qjw
 * @since 2021-06-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("access_control")
public class AccessControl implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 门禁表编号
     */
    @TableId(value = "ac_id", type = IdType.AUTO)
    private Integer acId;

    /**
     * 打卡时间
     */
    @TableField("punch_time")
    private LocalDateTime punchTime;

    /**
     * 打卡学生id
     */
    @TableField("student_id")
    private Integer studentId;

    /**
     * 打卡设备
     */
    @TableField("punch_equipment")
    private String punchEquipment;


}
